package com.gsafety.wellsfort.dao.security;

import com.gsafety.wellsfort.domain.model.security.UserLogin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserLoginDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(UserLogin record);

    int insertSelective(UserLogin record);

    UserLogin selectByPrimaryKey(Integer id);

    UserLogin selectByAccount(String account);

    int updateByPrimaryKeySelective(UserLogin record);

    int updateByPrimaryKey(UserLogin record);

    boolean modifyPassword(UserLogin userLogin);

    int bindUserInfo(UserLogin userLogin);

    int unBindInfo(Integer id);

}